<%--
  Created by IntelliJ IDEA.
  User: Jafrin
  Date: 9/10/12
  Time: 8:12 PM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<g:form name='gFormInterview' id='gFormInterview' controller="interview" action="genInterviewSecondStep">
    <g:hiddenField name="id" value="${interviewInstance?.id}" />
    <g:hiddenField name="version" value="${interviewInstance?.version}" />
    <div id="remote-content-interviewInstance"></div>
    <fieldset  class="ui-state-default ui-corner-all">
        <legend class="ui-jqgrid-titlebar ui-widget-header  ui-helper-clearfix">Select Project </legend>
        <table>
            <tr>
                <td><g:message code="question.project.label" default="Project" /></td>
                <td><g:select name="project.id" id="project" from="${com.na.onlineservey.Project.list()}" optionKey="id" value="${questionInstance?.project?.id}"  />
                </td>
            </tr>
        </table>
    </fieldset>
    <br/>
    <input type="submit" value="Next"/>
    %{--<div class="buttons">--}%
        %{--<a href="${createLink(uri: '/')}interview/genInterviewSecondStep">Next</a>--}%
    %{--</div>--}%
</g:form>
